package com.bbzn.device.client.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.bbzn.device.client.dao.announce.AnnounceUserMapper;
import com.bbzn.device.client.dataobject.AnnounceUser;
import java.util.List;
import com.bbzn.device.client.service.AnnounceUserService;
@Service
public class AnnounceUserServiceImpl implements AnnounceUserService{

    @Resource
    private AnnounceUserMapper announceUserMapper;

    @Override
    public int deleteByPrimaryKey(Long id) {
        return announceUserMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(AnnounceUser record) {
        return announceUserMapper.insert(record);
    }

    @Override
    public int insertOrUpdate(AnnounceUser record) {
        return announceUserMapper.insertOrUpdate(record);
    }

    @Override
    public int insertOrUpdateSelective(AnnounceUser record) {
        return announceUserMapper.insertOrUpdateSelective(record);
    }

    @Override
    public int insertSelective(AnnounceUser record) {
        return announceUserMapper.insertSelective(record);
    }

    @Override
    public AnnounceUser selectByPrimaryKey(Long id) {
        return announceUserMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(AnnounceUser record) {
        return announceUserMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(AnnounceUser record) {
        return announceUserMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<AnnounceUser> findByAll(AnnounceUser announceUser) {
        return announceUserMapper.findByAll(announceUser);
    }

    @Override
    public int updateBatch(List<AnnounceUser> list) {
        return announceUserMapper.updateBatch(list);
    }

    @Override
    public int updateBatchSelective(List<AnnounceUser> list) {
        return announceUserMapper.updateBatchSelective(list);
    }

    @Override
    public int batchInsert(List<AnnounceUser> list) {
        return announceUserMapper.batchInsert(list);
    }

    @Override
    public int deleteSelective(AnnounceUser record) {
        return announceUserMapper.deleteSelective(record);
    }

}
